package com.gxnzd.communityelderly.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;
import lombok.Data;

/**
 * @TableName scheduling
 */
@TableName(value ="scheduling")
@Data
public class Scheduling implements Serializable {
    @TableId(type = IdType.AUTO,value = "scheduling_id")
    private Long schedulingId;

    private Long doctorId;

    private String monday;

    private String tuesday;

    private String wednesday;

    private String thursday;

    private String friday;

    private String saturday;

    private String sunday;

    private Integer communityId;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

    @TableField(fill = FieldFill.INSERT)
    private Long createUser;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Long updateUser;

    //是否删除
    @TableLogic
    private Integer isDeleted;

    private static final long serialVersionUID = 1L;
}